
Recherche avancée
Médias (17)
-
Matmos - Action at a Distance
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
DJ Dolores - Oslodum 2004 (includes (cc) sample of “Oslodum” by Gilberto Gil)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Danger Mouse & Jemini - What U Sittin’ On ? (starring Cee Lo and Tha Alkaholiks)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Cornelius - Wataridori 2
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Rapture - Sister Saviour (Blackstrobe Remix)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Chuck D with Fine Arts Militia - No Meaning No
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (76)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
MediaSPIP Player : problèmes potentiels
22 février 2011, parLe lecteur ne fonctionne pas sur Internet Explorer
Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)
Sur d’autres sites (7428)
-
usb_fill_bulk_urb with less buffer_length gives no garbage Transport stream data
4 février 2015, par user3570793Currently I am working on a DVB-T2 dongle which is connected to my Ubuntu laptop 14.04 using USB
interface.
I am using following applications to perform scanning and channel play.
1. w_scan - which scans and gives me a channel.conf file
2. vlc ./channel.conf - plays a channel using modulation parameters in channel.confThings work fine when Pid filtering is disabled. But when Pid filtering is enabled, I see
macroblocks on the screen instead of smooth AV. Even AV is breaking a lot.
After going through the driver code, I tried increasing the URB buffer size from 3K (21*188) to
64K (348*188). The AV became smooth.
This urb buffer size is buffer_length (lenght of transport buffer) in below function.
void usb_fill_bulk_urb (struct urb * urb, struct usb_device * dev,
unsigned int pipe, void * transfer_buffer,
int buffer_length, usb_complete_t complete_fn,
void * context) ;As you can see the driver uses bulk mode of usb transfer.
Could anyone explain me why increasing the buffer is solving the macroblock issue ?
Give me some pointers to understand this issue better.
Thanks in advance,
Murali -
the ffmpeg recording does not stop after the test case is successfully executed,
21 mai 2024, par ghufranI am new to selenium, I want to add screen recording in my test cases, and I am using ffmpeg. The issue i am facing is the recording successfully starts, but it does not stop after the test case is successfully executed.


Below is how my code is strcutured :


package utilities;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class ScreenRecording {

 private Process ffmpeg;
 private String outputFilePath;
 private boolean isRecording;

 public ScreenRecording(String outputFilePath) {
 this.isRecording = false;
 this.outputFilePath = outputFilePath;
 }

 public void startRecording() throws IOException {
 String command = String.format(
 "ffmpeg -y -f gdigrab -framerate 30 -probesize 100M -analyzeduration 10M -i desktop -vf \"crop=1920:1080:0:0\" -c:v libx264 -preset ultrafast -qp 0 -pix_fmt yuv420p %s",
 outputFilePath
 );
 System.out.println("Executing command: " + command); // Print command for debugging
 try {
 ProcessBuilder builder = new ProcessBuilder("cmd.exe", "/c", command);
 builder.redirectErrorStream(true); // Combine error and output streams
 ffmpeg = builder.start();
 isRecording = true;

 // Log output and errors
 new Thread(() -> {
 try (BufferedReader reader = new BufferedReader(new InputStreamReader(ffmpeg.getInputStream()))) {
 String line;
 while ((line = reader.readLine()) != null) {
 System.out.println(line);
 }
 } catch (IOException e) {
 e.printStackTrace();
 }
 }).start();
 } catch (IOException e) {
 e.printStackTrace(); // Print exception for debugging
 throw e; // Rethrow exception to propagate it to the caller
 }
 }

 public void stopRecording() {
 if (ffmpeg != null) {
 ffmpeg.destroy();
 System.out.println("Recording stopped.");
 isRecording = false;
 }
 }

 public boolean isRecording() {
 return isRecording;
 }
}




public class AccountFeatures extends BaseTest {

 @Test(testName = "Register User")
 public void testRegisterUserScenario() throws InterruptedException {
 HomePage homePage = new HomePage(driver);
 LoginPage loginPage = new LoginPage(driver);
 SignUpPage signUpPage = new SignUpPage(driver);
 homePage.clickOnLogin();
 Assert.assertEquals(loginPage.getSingupText(), "New User Signup!");
 loginPage.enterUserName(randomName);
 loginPage.enterUserEmail(randomEmail);
 loginPage.clickOnSignUpButton();
 signUpPage.clickOnTitle();
 signUpPage.enterPassword(randomPassword);
 signUpPage.selectDate(birthDay);
 signUpPage.selectMonth("December");
 signUpPage.selectYear();
 signUpPage.selectFromCountryDropDown("Canada");
 }
}



import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import utilities.ScreenRecording;
import webdrivers.DriverManager;

import java.io.IOException;

public class BaseTest {

 protected WebDriver driver;
 private ScreenRecording recorder;

 @BeforeMethod
 public void setUp() throws IOException {
 // Initialize WebDriver (you can choose Chrome, Firefox, etc.)
 String outputFilePath = "D:\\Projects\\screen_recordings\\screen_recording.mp4";
 recorder = new ScreenRecording(outputFilePath);
 recorder.startRecording();
 driver = DriverManager.getDriver();
 driver.get(DataConfig.baseUrl);
 driver.manage().window().maximize();
 }

 @AfterMethod
 public void tearDown() {
 if (driver != null) {
 driver.quit();
 }
 if (recorder != null && recorder.isRecording()) {
 recorder.stopRecording();
 }
 }
}



I tried different solutions but it does not work at all. Before that i was using @AfterTest annotations but it was giving stack overflow exception.


-
Anomalie #2698 (Fermé) : mauvais hashage du mot de passe
10 mai 2012, par denisb -touche (au moins) les spip en 2.1 et 3.0 alors que "Prof_Mathématiques_Site01" est un mot de passe valide, "Prof_Mathematiques_Site01", s’il est bien enregistré (accepté sans message d’erreur) en base, n’est pas reconnu lors de la phase de login => "Erreur de mot de passe." on notera la subtile (...)